const user = require('../User')
const md5 = require("md5");

user.insertMany([{
    uId: '001',             // 唯一标志
    employeesName: '李扬',      // 姓名
    password: md5('901915'),    // 密码
    regTime: Date.now(),        // 注册时间
    power: ['/','/order','/order/search','/order/add','/order/delete','/order/setUser','/order/locking','/order/exportTemp','/order/export','/order/import','/user','/user/add','/user/deleteUser','/user/set','/user/password','/user/power','/setting','/setting/addTeam','/setting/deleteTeam','/setting/addJob','/setting/deleteJob','/setting/addExchangeRate','/setting/updateExchangeRate','/setting/addRebates', '/setting/updateRebates','/dashboard', '/dashboard/getData', '/commission', '/commission/exportTemp', '/commission/export', '/commission/import', '/setpassword', '/setpassword/set', '/customer', '/customer/add', '/customer/set', '/customer/delete', '/order/set'],      // 权限
}]).then(res=>{
    console.log('add admin success!')
})